package com.gzhryc.weixin.api.resource.msg.resp;

import java.util.List;

/**
 * 获取图文资源列表
 * @author 张浩
 * @version 2016-12-20
 */
public class GetNewsListResponse {

	protected Integer total_count;
	protected Integer item_count;
	protected List<Item> item;
	
	public Integer getTotal_count() {
		return total_count;
	}

	public void setTotal_count(Integer total_count) {
		this.total_count = total_count;
	}

	public Integer getItem_count() {
		return item_count;
	}

	public void setItem_count(Integer item_count) {
		this.item_count = item_count;
	}

	public List<Item> getItem() {
		return item;
	}

	public void setItem(List<Item> item) {
		this.item = item;
	}

	public static class Item {
		
		public Item(){
			this.content = new ItemContent();
		}
		
		protected String media_id;
		protected ItemContent content;
		protected String update_time;
		
		public String getMedia_id() {
			return media_id;
		}
		public void setMedia_id(String media_id) {
			this.media_id = media_id;
		}
		public ItemContent getContent() {
			return content;
		}
		public void setContent(ItemContent content) {
			this.content = content;
		}
		public String getUpdate_time() {
			return update_time;
		}
		public void setUpdate_time(String update_time) {
			this.update_time = update_time;
		}
	}
	
	public static class ItemContent {
		
		protected List<NewsItem> news_item;

		public List<NewsItem> getNews_item() {
			return news_item;
		}

		public void setNews_item(List<NewsItem> news_item) {
			this.news_item = news_item;
		}
	}
	
	public static class NewsItem {
		
		protected String title;
		protected String thumb_media_id;
		protected String thumb_url;
		protected Integer show_cover_pic;
		protected String author;
		protected String digest;
		protected String content;
		protected String url;
		protected String content_source_url;
		
		public String getTitle() {
			return title;
		}
		public void setTitle(String title) {
			this.title = title;
		}
		public String getThumb_media_id() {
			return thumb_media_id;
		}
		public void setThumb_media_id(String thumb_media_id) {
			this.thumb_media_id = thumb_media_id;
		}
		public String getThumb_url() {
			return thumb_url;
		}
		public void setThumb_url(String thumb_url) {
			this.thumb_url = thumb_url;
		}
		public Integer getShow_cover_pic() {
			return show_cover_pic;
		}
		public void setShow_cover_pic(Integer show_cover_pic) {
			this.show_cover_pic = show_cover_pic;
		}
		public String getAuthor() {
			return author;
		}
		public void setAuthor(String author) {
			this.author = author;
		}
		public String getDigest() {
			return digest;
		}
		public void setDigest(String digest) {
			this.digest = digest;
		}
		public String getContent() {
			return content;
		}
		public void setContent(String content) {
			this.content = content;
		}
		public String getUrl() {
			return url;
		}
		public void setUrl(String url) {
			this.url = url;
		}
		public String getContent_source_url() {
			return content_source_url;
		}
		public void setContent_source_url(String content_source_url) {
			this.content_source_url = content_source_url;
		}
	}
}
